import request from '@/utils/request'

// 下载模板
export function downloadExcel(data) {
  return request({
    url: '/file/excel',
    method: 'get',
    params: data
  })
}

// 上传文件
export function uploadFile(data) {
  return request({
    url: '/file',
    method: 'post',
    data
  })
}
